p {text-align: left;}

body {
	margin: 0;
	padding: 0;
	text-align: left;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #000000;
	background-color: #FFFFFF;
	background-image: url(../img/back.png);
	background-repeat: repeat;
}

#page
{
	margin: 0 auto 0 auto;
	height: 100%;
	position: relative;
	background-color: #333333;
	width: 900px;
    background-image: url(../img/back.png);
	background-repeat: repeat;
}
/* Burukoa */
#header {
	position:relative;
	width: 850px;
	height:150px;
	margin-left:25px;
	margin-right:21px;	
/*	background-image:url(img/cabecera.jpg);*/
	background-size: 100%;
}
/* Azpiko menuko barra */

#segundo_menu {
	position: relative;
	width: 850px;
	height:25px;
	margin-left:25px;
	margin-right:21px;
    background-color: #333333;
}

#bar
{
	position: relative;
	left: 7px;
	width: 850px;
	height:30px;
	margin-left:-46px;
	margin-right:21px;
		z-index: 100;
}
#bar ul {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	padding-right: 12px;
	padding-left: 15px;
	float:left;
}
#bar li {
    display:inline;
    padding:0;
    margin:0;
}

#bar a:link,

#bar a:visited {
   background-color: #333333;
	padding:5px 80px 5px 51px;
	float:left;
	border-right:1px solid #333333;
	text-decoration:none;
	color: #FFFFFF;
	font:bold 1em/1em Arial, Helvetica, sans-serif;
	text-transform:uppercase;
/*	text-shadow: 2px 2px 2px #555; */
}

#bar li:first-child a {
border-left:1px solid #333333;
}
#bar a:hover,
#bar a:focus {
    color:#fff;
    background: #999999;
}

/* titularren barra */
#titulares {
	position:relative;
	margin-top: 45px;
	width: 850px;
	height:300px;
	margin-left:25px;
	margin-right:21px;
	background-color: #333333;
}

#titu1 {
	position:relative;
	width: 550px;
	height:250px;
	margin-left:15px;
	margin-right:5px;
	float: left;
  /*  background-image:url(img/dantza.jpg); */
	background-size: 100%;
}

#titu2 {
	position:relative;
	width: 250px;
	height:250px;
	margin-left:5px;
	margin-right:10px;
	float: left;
	background-image:url(../img/dantza2.jpg);
	background-size: 100%;
}

/* azpitituluen barra */
#subtitulos {
	position:relative;
	width: 850px;
	height:150px;
	margin-left:25px;
	margin-right:21px;
	background-color: #333333;
}
#subt1, #subt2, #subt3 {
	position:relative;
	width: 230px;
	height:135px;
	margin-left:25px;
	margin-right:21px;
	margin-top: -60px;
	float: left;
	background-color: #FFFFFF;
}
#subt1 { background-image:url(../img/ticket.png); background-size: contain; background-repeat:no-repeat; background-position:center; border-style: none;}
#subt2 {
	background-image: url(../img/berriak.jpg);
	background-size: 100%;
}
#subt3 { background-image:url(../img/agenda.jpg); background-size: contain; background-repeat:no-repeat; background-position:center; }


/* oina */
#footer {
	position:relative;
	width: 850px;
	text-align:center;
	margin-left:25px;
	margin-right:21px;
	margin-top: 5px;
	padding-top: 20px;
	font-size:13px;
	color: #FF0000;
	background-color:#333333;
}


  .mi-menu  {
    border-radius: 3px;
    list-style-type: none;
    margin: 0 auto; 
    padding: 0;
    height: 40px; 
    width: 850px;
	margin-left:25px;
	margin-right:21px;
	z-index: 100;
	
    /* Menu fondoaren kolorea */
    background: #555;
    background: -moz-linear-gradient(#555,#222);
    background: -webkit-linear-gradient(#555,#222);
    background: -o-linear-gradient(#555,#222);
    background: -ms-linear-gradient(#555,#222);
    background: linear-gradient(#555,#222);
  }

  .mi-menu  br { display:none; }

  .mi-menu  li {
    display: block;
    float: left; 
    height: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
		z-index: 100;
  }
  .mi-menu li a {
    border-left: 1px solid #000;
    border-right: 1px solid #666;
    color: #EEE;
    display: block;
    font-family: Tahoma;
    font-size: 13px;
    font-weight: bold;
    line-height: 28px;
    padding: 0 35px; /* botoien arteko distantzia */
    margin: 6px 0;
    text-decoration: none;
    
  }
  /* lehen eta azken botoiaren bordeak kendu */
  .mi-menu li:first-child a { border-left: none; }
  .mi-menu li:last-child a{ border-right: none; }
  /* Menuaren efektuak */
  .mi-menu li:hover > a { color: Crimson; }

  /* Azpimenuak */
  .mi-menu ul {
    border-radius: 0 0 5px 5px;
    left: 0;
    margin: 0;
    opacity: 0; /* Ezin dira ikusi */
    position: absolute;
		z-index: 100;
    top: 40px; 
    /* Kolorea */
    background: #222;
    background: -moz-linear-gradient(#222,#555);
    background: -webkit-linear-gradient(#22,#555);
    background: -o-linear-gradient(#222,#555);
    background: -ms-linear-gradient(#222,#555);
    background: linear-gradient(#222,#555);
  }
  /* Gainean jartzean ikusteko */
  .mi-menu li:hover > ul { opacity: 1; }

   /* Azpimenuko menua */
  .mi-menu ul li {
    height: 0; 
    overflow: hidden;
    padding: 0;
	margin-left:-40px;/* Azpimenuaren margina kendu */
  
  }
  .mi-menu li:hover > ul li {
    height: 36px; 
    overflow: visible;
    padding: 0;
  }
  .mi-menu ul li a {
    border: none;
    border-bottom: 1px solid #111;
    margin: 0;
    padding: 5px 20px;
    width: 100px;
  }
  /* Azkenaren bordea kendu */
  .mi-menu ul li:last-child a { border: none; }


/* SLIDER-aren CSSa */
#example {
	width:850px;
	height:150px;
	position:relative;
}


#frame {
	position:absolute;
	z-index:0;
	width:850px;
	height:150px;
	top:-3px;
	left:-80px;
}

/*
	Slideshow
*/

#slides {
	position:absolute;
	z-index:90;
}

/*
	Slides container
	Important:
	Set the width of your slides container
	Set to display none, prevents content flash
*/

.slides_container {
	width:850px;
	overflow:hidden;
	position:relative;
	display:none;
}


.slides_container a {
	width:850px;
	height:150px;
	display:block;
}

.slides_container a img {
	display:block;
}

/*
	Next/prev buttons
*/

#slides .next,#slides .prev {
	position:absolute;
	top:107px;
	left:-24px;
	width:24px;
	height:43px;
	display:block;
	z-index:101;
}

#slides .next {
	left:850px;
}

/*
	Pagination
*/

.pagination {
	margin:26px auto 0;
	width:100px;
}

.pagination li {
	float:left;
	margin:0 1px;
	list-style:none;
}

.pagination li a {
	display:block;
	width:12px;
	height:0;
	padding-top:12px;
	background-image:url(../img/pagination.png);
	background-position:0 0;
	float:left;
	overflow:hidden;
}

.pagination li.current a {
	background-position:0 -12px;
}
